﻿/*
 * MIT License
 *Copyright (c) 2021 咖啡与网络(java-and-net)
 *
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using CoreShop.Model;
using CoreShop.Repository;
using SqlSugar;

namespace CoreShop.Services
{
    /// <summary>
    /// 商品分类信息接口实现类
    /// </summary>
    public class corecmsscreenimgService : Repository<corecmsscreenimg>, IcorecmsscreenimgService
    {
        #region 支付信息

        public bool InsertAsync(corecmsscreenimg entity)
        {
            return base.Change<corecmsscreenimg>().Insert(entity);
        }
            

        /// <summary>
        /// 根据商品分类Id查询商品分类信息
        /// </summary>
        /// <param name="CustoNo"></param>
        /// <returns></returns>
        public corecmsscreenimg SelectDataById(Int32 id)
        {
            corecmsscreenimg sysPayment = base.GetSingle(a => a.tenantScreenImgId == id);
            return sysPayment;
        }
        #endregion
    }
}
